/*!
 * @author Isis (igraziatto) Graziatto <isis.g@vanillaforums.com>
 * @copyright 2009-2018 Vanilla Forums Inc.
 * @license GPL-2.0-only
 */

/* -------------------------------------------------------------- *\
    Styles
\* -------------------------------------------------------------- */

.Footer {
    @if ($staticVariables) {
        background: $footer_bg;
        color: $footer_color;
    }
    font-size: $footer-base_fontSize;
    line-height: $footer-base_lineHeight;
    padding: $utility-baseUnitTriple 0;

    a {
        color: $footer-link_color;

        &:hover {
            color: $footer-link-hover_color;
        }
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin: 0 (-$utility-baseUnitHalf);
    }

    .col {
        padding: 0 $utility-baseUnitHalf;

        @include maxWidth($theme-breakpoint_base) {
            width: 100%;
            text-align: center;
            margin: 6px 0;

            &:first-child {
                margin-top: 0;
            }

            &:last-child {
                margin-bottom: 0;
            }
        }
    }

    .col-copyRight {
        justify-content: flex-start;
    }

    .col-logo {
        justify-content: flex-end;
    }

    .col-copyRight,
    .col-logo {
        flex: 1;
        display: flex;

        @include maxWidth {
            justify-content: center;
        }
    }
}

.Vanilla-logo {
    width: 120px;
    height: 28px;
    opacity: 0.6;

    @include maxWidth($theme-breakpoint_base) {
        margin: 0 auto;
    }
}
